<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>EL表达式</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>

<body>
	${'EL表达式：' }
	<br> ${'************************常量**************************' }
	<br> ${15 }
	<br> ${true }
	<br> ${13.5 }
	<br> ${'************************算术运算***************************' }
	<br> 5 + 3 = ${5 + 3 }
	<br> 5 - 3 = ${5 - 3 }
	<br> 5 * 3 = ${5 * 3 }
	<br> 5 / 3 = ${5 / 3 }
	<br> 5 div 3 = ${5 div 3 }
	<br> 5 % 3 = ${5 % 3 }
	<br> 5 mod 3 = ${5 mod 3 }
	<br> ${'*************************关系运算*************************' }
	<br> 5 > 3 = ${5 > 3 }
	<br> 5 gt 3 = ${5 gt 3 }
	<br> 5 小于 3 = ${5 < 3 }
	<br> 5 lt 3 = ${5 lt 3 }
	<br> 5 >= 3 = ${5 >= 3 }
	<br> 5 ge 3 = ${5 ge 3 }
	<br> 5 小于等于 3 = ${5 <= 3 }
	<br> 5 le 3 = ${5 le 3 }
	<br> 5 != 3 = ${5 != 3 }
	<br> 5 ne 3 = ${5 ne 3 }
	<br> 5 == 3 = ${5 == 3 }
	<br> 5 eq 3 = ${5 eq 3 }
	<br> ${'*************************逻辑运算***********************' }
	<br> 5>3&&2>3 = ${5>3&&2>3 }
	<br> 5>3and2>3 = ${5>3 and 2>3 }
	<br> 5>3||2>3 = ${5>3||2>3 }
	<br> 5>3or2>3 = ${5>3 or 2>3 }
	<br> !(5>3) = ${!(5>3)}
	<br> not(5>3) = ${not(5>3)}
	<br> ${'**************************条件运算************************' }
	<br> 5>3?5:3 = ${5>3?5:3}
	<br> 5>3?'Yes':'No' = ${5>3?'Yes':'No'}
	


</body>

</html>
